package com.springboot.onlinemusicserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.springboot.onlinemusicserver.model.Music;
import com.springboot.onlinemusicserver.model.MusicLove;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description :
 * User: jiume
 * Date: 2025-05-26
 * Time: 9:37
 */
@Mapper
public interface MusicLoveMapper extends BaseMapper<MusicLove> {

    List<Music> selectLoveMusicAll(Long userId);

    List<Music> selectLoveMusicBySelectName(Long userId, String selectName);
}
